Skip to content

Remove isset call when checking for existing cached placeholder image#212

Open
mlyndaker wants to merge 1 commit intoPatreon:masterfrom
mlyndaker:master
Open

Remove isset call when checking for existing cached placeholder image#212
mlyndaker wants to merge 1 commit intoPatreon:masterfrom
mlyndaker:master

Conversation

@mlyndaker
Copy link
Copy Markdown

The protected image placeholder is always generated on each request instead of using the previously cached file.

In patreon_protect.php, the file_exists check for the previously generated file has additional call to isset($go). This will always return false, forcing the image to be regenerated each time rather than reusing the existing cached file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant